package com.tianpengtech.common.mock.impl.numberic;

import java.util.Random;

import com.tianpengtech.common.mock.impl.AbstractNumberMock;

public class FloatMock extends AbstractNumberMock<Float>{

	@Override
	public Float mockData(int min,int max) {
		Random random=new Random();
		int result = random.nextInt(max)%(max-min+1) + min;
		return (float) (result*0.01);
	}

}
